Public Class frmQuanLyNguoiDung

    

    Private Sub TblNhomNguoiDungBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TblNhomNguoiDungBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblNhomNguoiDungBindingSource.EndEdit()
        Me.TblNhomNguoiDungTableAdapter.Update(Me.CSDLSVDataSet.tblNhomNguoiDung)

    End Sub

    Private Sub frmQuanLyNguoiDung_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblXepNhom' table. You can move, or remove it, as needed.
        Me.TblXepNhomTableAdapter.Fill(Me.CSDLSVDataSet.tblXepNhom)
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblNhanVien' table. You can move, or remove it, as needed.
        Me.TblNhanVienTableAdapter.Fill(Me.CSDLSVDataSet.tblNhanVien)
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblLogin' table. You can move, or remove it, as needed.
        Me.TblLoginTableAdapter.Fill(Me.CSDLSVDataSet.tblLogin)
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblLogin' table. You can move, or remove it, as needed.
        Me.TblLoginTableAdapter.Fill(Me.CSDLSVDataSet.tblLogin)
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblNhomNguoiDung' table. You can move, or remove it, as needed.
        Me.TblNhomNguoiDungTableAdapter.Fill(Me.CSDLSVDataSet.tblNhomNguoiDung)

    End Sub


    Private Sub TblLoginBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TblLoginBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblLoginBindingSource.EndEdit()
        Me.TblLoginTableAdapter.Update(Me.CSDLSVDataSet.tblLogin)
    End Sub

    Private Sub TblXepNhomBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TblXepNhomBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblXepNhomBindingSource.EndEdit()
        Me.TblXepNhomTableAdapter.Update(Me.CSDLSVDataSet.tblXepNhom)
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Me.Validate()
        Me.TblLoginBindingSource.EndEdit()
        Me.TblLoginTableAdapter.Update(Me.CSDLSVDataSet.tblLogin)
    End Sub
End Class